/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dings
 * Date: 2024-07-02
 * Time: 12:03
 */
public class TeddyDog extends Dog{
    public TeddyDog(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(this.getName()+","+getAge()+"岁，正在吃狗粮");
    }
}
